/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.tms.module.signedinfo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 签收信息实体类
 *
 * @author Blade
 * @since 2022-03-03
 */
@Data
@TableName("tm_signed_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SignedInfo对象", description = "签收信息")
public class TMSignedInfo extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键")
	private Long id;
	/**
	 * 签收时间
	 */
	@ApiModelProperty(value = "签收时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime signDate;
	/**
	 * 签收数量
	 */
	@ApiModelProperty(value = "签收数量")
	private BigDecimal num;
	/**
	 * 签收单照片
	 */
	@ApiModelProperty(value = "签收单照片")
	private String signPic;
	/**
	 * 交付检查表图片
	 */
	@ApiModelProperty(value = "交付检查表图片")
	private String overPic;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 运单ID
	 */
	@ApiModelProperty(value = "运单ID")
	private Long parentId;


}
